import { DIRECTION_ORDER_ENUM, PARAM_NAME_ENUM } from "../Enums";
import SubStateMachine from "./SubStateMachine";

export default class DirectionSubStateMachine extends SubStateMachine {
  run() {
    const value = this.fsm.getParams(PARAM_NAME_ENUM.DIRECTION)
    this.currentState = this.stateMachines.get(DIRECTION_ORDER_ENUM[Number(value)])
  }
}
